package cn.easyutil.project.base.bean;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class FileBean implements Serializable {

	private static final long serialVersionUID = 1L;
	/** 本地访问地址 */
	@ApiModelProperty(value="本地访问地址",example="http://127.0.0.1:8080/apis/file/down?path=L3dvcmsvZmlsZS9mc2pramtsbC5wbmcKIA==")
	private String localPath;
	/** oss访问地址 */
	@ApiModelProperty(value="oss访问地址",example="https://test.oss-cn-hangzhou.aliyuncs.com/picture/8f9e1af496644919924fe51b2bfd267b.jpg")
	private String ossPath;
	/** 文件大小 单位:byte */
	@ApiModelProperty(value="文件大小 单位:byte",example="1024")
	private long size;
	/** 后缀名 */
	@ApiModelProperty(value="后缀名",example="png")
	private String suffix;
	/** 文件的md5值 */
	@ApiModelProperty(value="文件的md5值",example="3d9188577cc9bfe9291ac66b5cc872b7")
	private String md5;

	public String getMd5() {
		return md5;
	}

	public void setMd5(String md5) {
		this.md5 = md5;
	}

	public String getLocalPath() {
		return localPath;
	}

	public void setLocalPath(String localPath) {
		this.localPath = localPath;
	}

	public String getOssPath() {
		return ossPath;
	}

	public void setOssPath(String ossPath) {
		this.ossPath = ossPath;
	}

	public long getSize() {
		return size;
	}

	public void setSize(long size) {
		this.size = size;
	}

	public String getSuffix() {
		return suffix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}
}
